Enhanced Generic Key-Address Mapping Sort Algorithm

نویسندگان

  • Chenn-Jung Huang
  • Chih-Tai Guan
  • Yi-Ta Chuang
چکیده

Various methods, such as address-calculation sort, distribution counting sort, radix sort, and bucket sort, adopt the values being sorted to improve sorting efficiency, but require extra storage space. This work presents a specific key-address mapping sort implementation. The proposed algorithm has the advantages of linear average-time performance and no requirement for linked-list data structures, and can avoid the tedious second round of sorting required by other content-based sorting algorithms, such as Groupsort. The key-address mapping function employed in the proposed algorithm can fit data in any specific distribution when the mapping function is carefully designed. The cases for the uniformly and normally distributed data are explored herein to demonstrate the effectiveness of the proposed key-address mapping functions. Although the computation of the average and the standard deviation increases the overhead in our sorting algorithm, the empirical results indicate that the proposed sorting algorithm is still faster than both Quicksort and Groupsort for lists comprising 1,000 to 2,000,000 positive integers. The proposed algorithm adopts a valid key-address mapping function for uniformly distributed data, and a desirable approximation of the cumulative distribution function by using a cubic polynomial for normally distributed data, respectively.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

An Adaptive Generic Sorting Algorithm that Uses

A sorting algorithm is adaptive if its run time, for inputs of the same size n, varies smoothly from O(n) to O(n logn) as the disorder of the input varies. It is well accepted that les that are already sorted are often sorted again and that nearly sorted les often occur. Recently, researchers have focused their attention on sorting algorithms that are optimally adaptive with respect to several ...

متن کامل

An Adaptive Generic Sorting Algorithm That Uses Variable Partitioning

A sorting algorithm is adaptive if its run time, for inputs of the same size n, varies smoothly from O(n) to O(n log n) as the disorder of the input varies. Recently, researchers have focused their attention on sorting algorithms that are optimally adaptive with respect to several measures of disorder, since the type of disorder in the input is usually not known. They have demonstrated a need t...

متن کامل

Conscious Radix Sort

The exploitation of data locality in parallel computers is paramount to reduce the memory traac and communication among processing nodes. We focus on the exploitation of locality by Parallel Radix sort. The original Parallel Radix sort has several communication steps in which one sorting key may have to visit several processing nodes. In response to this, we propose a reorganization of Radix so...

متن کامل

A generic all-pairs cluster-computing pipeline and its applications

In this paper we propose a generic pipeline for all-pairs computations on a cluster of workstations. We use this generic pipeline to derive specific cluster algorithms for three different all-pairs problems: n-body simulation, bubble sort, and Gaussian elimination. We implement the generic pipeline and its derivatives on a cluster of Intel Pentium II workstations using C and the PVM cluster com...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2006